<?php
/**
 * @Name: CaoBox v1.0
 * @author LinhNMT <w2ajax@gmail.com>
 * @link http://code.google.com/p/caobox/
 * @copyright Copyright &copy; 2009 phpbasic
 */
defined('_ROOT') or die(__FILE__);

//$cache->set('page');
$tpl->setfile(array(
	'body'=>'index.tpl',
	
));

$result = $oCategory->view(1,0);
while($rs = $result->fetch()){
	$tpl->assign($rs,'cat');
}
$result->cache();
?>